Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update user sync to allow for multiple auction syncs #3984

Merged
merged 1 commit into from
Jul 22, 2019

Conversation

snapwich
Copy link
Collaborator

Type of change

  • Bugfix

Description of change

Updates the user sync code to allow multiple "fireSync" calls for multiple auctions. Instead we keep track of bidders to prevent bidders from registering syncs when they've already fired from a previous auction. This allows bidders that were not included in an initial auction to still fire their syncs in a later auction.

Other information

Fixes #3746

Copy link
Collaborator

@jsnellbaker jsnellbaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this out and it appears to be working as expected now; LGTM

@jsnellbaker jsnellbaker added LGTM needs 2nd review Core module updates require two approvals from the core team and removed needs review labels Jul 19, 2019
@jsnellbaker jsnellbaker removed their assignment Jul 19, 2019
Copy link
Collaborator

@robertrmartinez robertrmartinez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, Thanks Rich!

@snapwich snapwich merged commit 46cdbef into master Jul 22, 2019
@snapwich snapwich deleted the user-sync-per-bidder branch July 22, 2019 15:15
leonardlabat pushed a commit to criteo-forks/Prebid.js that referenced this pull request Jul 30, 2019
VideoReach pushed a commit to VideoReach/Prebid.js that referenced this pull request Aug 1, 2019
sa1omon pushed a commit to gamoshi/Prebid.js that referenced this pull request Nov 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LGTM needs 2nd review Core module updates require two approvals from the core team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

User syncs only fired with the first pbjs.requestBids()
3 participants